package com.peas.platform.module.icims.budget.ysy.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.ysy.adapter.repository.BudgetYsyProjectTwoSyncRepository;
import com.peas.platform.module.icims.budget.ysy.adapter.repository.po.BudgetYsyProjectTwoSyncPo;
import com.peas.platform.module.icims.budget.ysy.domain.BudgetYsyProjectTwoSyncDomain;
import com.peas.platform.module.icims.budget.ysy.dto.BudgetYsyProjectTwoSyncDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetYsyProjectTwoSyncDomainImpl extends BaseDomainImpl<BudgetYsyProjectTwoSyncDto, BudgetYsyProjectTwoSyncPo> implements BudgetYsyProjectTwoSyncDomain {

    @Resource
    private BudgetYsyProjectTwoSyncRepository budgetYsyProjectTwoSyncRepository;

    @Override
    public BaseRepository<BudgetYsyProjectTwoSyncPo> getMapper() {
        return budgetYsyProjectTwoSyncRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetYsyProjectTwoSyncPo>> getRepositoryClass() {
        return BudgetYsyProjectTwoSyncRepository.class;
    }

}
